$(function(){
	
	//首页
	$("#menu").delegate("#home","click",function(){
		window.location.href="/"+Udwin.appName+"/index";
	})
	//门
	$("#menu").delegate("#door","click",function(){
		window.location.href="/"+Udwin.appName+"/product/list?productTypeUuid=2";
	})
	//窗
	$("#menu").delegate("#window","click",function(){
		window.location.href="/"+Udwin.appName+"/product/list?productTypeUuid=1";
	})
	//阳光房
	$("#menu").delegate("#shineRoom","click",function(){
		window.location.href="/"+Udwin.appName+"/product/list?productTypeUuid=3";
	})
	//3D展厅
	$("#menu").delegate("#3dshow","click",function(){
		window.open("http://121.42.211.6/ks_13385397999/?r=index/room");
	})
	
	/**
	 * 免费预约量尺
	 */
	$("body").delegate(".freeMeasure","click",function(){
		window.open("/"+Udwin.appName+"/custom");
	})
	/**
	 * 服务网点
	 */
	$("body").delegate(".agent","click",function(){
		window.location.href = "/"+Udwin.appName+"/product/agentList";
	})
	//在线咨询
	$("body").delegate(".online","click",function(){
		window.open("http://p.qiao.baidu.com//im/index?siteid=7311641&ucid=11032748");
	})
})